<template>
	<u-tabbar class="tab-bar" ref="tabBar" :list="mainTabbar" :bg-color="readTheme.tabbarBackground"
	 :active-color="readTheme.mainColor" :inactive-color="readTheme.defaultColor"></u-tabbar>
</template>

<script>
	import {
		mapState,
		mapGetters
	} from 'vuex'
	export default {
		computed: {
			...mapState({
				mainTabbar: state => state.global.mainTabbar
			}),
			...mapGetters({
				readTheme:'readTheme'
			})
		},
		created(){
			console.log(this.readTheme)
		}
	}
</script>

<style>
</style>
